﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;


namespace CMD_DKT.SolAlta
{
    public class UISolAlta
    {
        static long windowHeight;
        private static long DatosSol;
        private static long DatosGrales;
        private static long DirFiscal;
        private static long DirEntrega;
        private static long RFV;
        private static long DPV;
        private static long InfoAd;
        private static long DatosBanc;


        public static ArrayList GetSecRangesReemp()
        {
            ArrayList tmp = new ArrayList();

            tmp.Add(new NavSecRange(0.0, 25.0, "brdDatosCliente"));
            tmp.Add(new NavSecRange(85.0, 155.0, "brdDatosSol"));
            tmp.Add(new NavSecRange(295.0, 370.0, "brdDatosGrales"));
            tmp.Add(new NavSecRange(505.0, 610.0, "brdDirFiscal"));
            tmp.Add(new NavSecRange(775.0, 850.0, "brdDirEntrega"));
            tmp.Add(new NavSecRange(1045.0, 1050.0, "brdRFV"));
            tmp.Add(new NavSecRange(1195.0, 1240.0, "brdDPV"));
            tmp.Add(new NavSecRange(1435.0, 1455.0, "brdInfoAd"));
            tmp.Add(new NavSecRange(1555.0, 1585.0, "brdDatosBanc"));
            return tmp;
        }
           
        public static ArrayList GetSecRanges()
        {
            ArrayList tmp = new ArrayList();

            tmp.Add(new NavSecRange(0.0, 155.0, "brdDatosSol"));
            tmp.Add(new NavSecRange(210.0, 370.0, "brdDatosGrales"));
            tmp.Add(new NavSecRange(420.0, 610.0, "brdDirFiscal"));
            tmp.Add(new NavSecRange(690.0, 850.0, "brdDirEntrega"));
            tmp.Add(new NavSecRange(960.0, 1000.0, "brdRFV"));
            tmp.Add(new NavSecRange(1110.0, 1240.0, "brdDPV"));
            tmp.Add(new NavSecRange(1350.0, 1370.0, "brdInfoAd"));
            tmp.Add(new NavSecRange(1475.0, 1500.0, "brdDatosBanc"));
            return tmp;
        }
        public static void SettingScrolls(double brdDatosSol, double brdDatosGrales, double brdDirFiscal,
                                   double brdDirEntrega, double brdRFV, double brdDPV, double brdInfoAd, double brdDatosBanc)
        {
            DatosSol = (long)brdDatosSol;
            DatosGrales = (long)brdDatosGrales;
            DirFiscal = (long)brdDirFiscal;
            DirEntrega = (long)brdDirEntrega;
            RFV = (long)brdRFV;
            DPV = (long)brdDPV;
            InfoAd = (long)brdInfoAd;
            DatosBanc = (long)brdDatosBanc;
        }     
        public static ArrayList GetSecRanges1()
        {
            ArrayList tmp = new ArrayList();

            tmp.Add(new NavSecRange(DatosSol,DatosGrales, "brdDatosSol"));
            tmp.Add(new NavSecRange(DatosGrales,DirFiscal, "brdDatosGrales"));
            tmp.Add(new NavSecRange(DirFiscal,DirEntrega, "brdDirFiscal"));
            tmp.Add(new NavSecRange(DirEntrega,RFV, "brdDirEntrega"));
            tmp.Add(new NavSecRange(RFV,DPV, "brdRFV"));
            tmp.Add(new NavSecRange(DPV,InfoAd, "brdDPV"));
            tmp.Add(new NavSecRange(InfoAd,DatosBanc, "brdInfoAd"));
            tmp.Add(new NavSecRange(DatosBanc,windowHeight, "brdDatosBanc"));
            
            return tmp;
        }
       
        public long WindowHeight
        {
            set { windowHeight = value; }
            get { return windowHeight; }
        }
    }

}
